package com.ctshk.rpc.airexpress.strategy;

import com.baomidou.mybatisplus.core.toolkit.CollectionUtils;
import com.ctshk.common.enums.SystemError;
import com.ctshk.common.exception.BusinessException;
import com.ctshk.rpc.airexpress.req.AirportExpressIncreaseStrategyRuleReq;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 机场快线策略规则校验类
 * </p>
 *
 * @author 胡广
 * @since 2021/4/19
 */
public class AirportExpressStrategyRuleValidator {
    public void validate(AirportExpressIncreaseStrategyRuleReq airportExpressIncreaseStrategyRuleReq) {
    }

    public void validate(List<AirportExpressIncreaseStrategyRuleReq> ruleReqList) {
        if (CollectionUtils.isNotEmpty(ruleReqList)) {
            for (AirportExpressIncreaseStrategyRuleReq airportExpressIncreaseStrategyRuleReq : ruleReqList) {
                validate(airportExpressIncreaseStrategyRuleReq);
            }
        }
    }
}
